package com.sihai.ehr.web.pojo;

import com.sihai.ehr.model.sys.InviteEnum;
import com.sihai.ehr.model.sys.Organization;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: henry
 * Date: 12-6-25
 * Time: 上午10:33
 * To change this template use File | Settings | File Templates.
 */
public class InterviewArrangePOJO {
    private Long id;    //面试安排编号
    //private Long workId; //人才库简历编号
    private Long employeeId;
    private String name;
    private Long dutyId;
    private String dutyName;
    private Long orgId;
    private String orgName;
    private Date interviewTime;
    private InviteEnum firstView;
    private InviteEnum repeatView;
    private InviteEnum viewStatus; //面试结果状态
    private Date reportTime;
    private InviteEnum status; //员工状态
    private Long contractStatus;    //合同状态（状态0-审核通过，1-审核未通过，2-待审核,3-审核中,4是未签，5是已签）
    private Organization organization; /* 组织关系结构 -->为了显示列表中的上下关系  */

    public InterviewArrangePOJO() {
    }

    public InterviewArrangePOJO(Long id, Long employeeId, String name,Long dutyId, String dutyName,Long orgId, String orgName, Date interviewTime, InviteEnum firstView, InviteEnum repeatView, InviteEnum viewStatus) {
        this.id = (id == null ? -1 : id);
        //this.workId = workId;
        this.employeeId = employeeId;
        this.name = name;
        this.dutyId = dutyId;
        this.dutyName = dutyName;
        this.orgId = orgId;
        this.orgName = orgName;
        this.interviewTime = interviewTime;
        this.firstView = firstView;
        this.repeatView = repeatView;
        this.viewStatus = viewStatus;
    }

    public InterviewArrangePOJO(Long id,Long employeeId, String name,Long dutyId, String dutyName,Long orgId, String orgName, Date interviewTime, Date reportTime, InviteEnum status, Long contractStatus) {
        this.id = (id == null ? -1 : id);
        //this.workId = workId;
        this.employeeId = employeeId;
        this.name = name;
        this.dutyId = dutyId;
        this.dutyName = dutyName;
        this.orgId = orgId;
        this.orgName = orgName;
        this.interviewTime = interviewTime;
        this.reportTime = reportTime;
        this.status = status;
        this.contractStatus = contractStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

//    public Long getWorkId() {
//        return workId;
//    }
//
//    public void setWorkId(Long workId) {
//        this.workId = workId;
//    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getDutyId() {
        return dutyId;
    }

    public void setDutyId(Long dutyId) {
        this.dutyId = dutyId;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Date getInterviewTime() {
        return interviewTime;
    }

    public void setInterviewTime(Date interviewTime) {
        this.interviewTime = interviewTime;
    }

    public InviteEnum getFirstView() {
        return firstView;
    }

    public void setFirstView(InviteEnum firstView) {
        this.firstView = firstView;
    }

    public InviteEnum getRepeatView() {
        return repeatView;
    }

    public void setRepeatView(InviteEnum repeatView) {
        this.repeatView = repeatView;
    }

    public InviteEnum getViewStatus() {
        return viewStatus;
    }

    public void setViewStatus(InviteEnum viewStatus) {
        this.viewStatus = viewStatus;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public InviteEnum getStatus() {
        return status;
    }

    public void setStatus(InviteEnum status) {
        this.status = status;
    }

    public Long getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(Long contractStatus) {
        this.contractStatus = contractStatus;
    }

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}
    
    
}
